Optimal. Leaf size=73 \[ -\frac {2 a (A b-a B) \sqrt {a+b x^3}}{3 b^3}+\frac {2 (A b-2 a B) \left (a+b x^3\right )^{3/2}}{9 b^3}+\frac {2 B \left (a+b x^3\right )^{5/2}}{15 b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {457, 78}
\begin {gather*} \frac {2 \left (a+b x^3\right )^{3/2} (A b-2 a B)}{9 b^3}-\frac {2 a \sqrt {a+b x^3} (A b-a B)}{3 b^3}+\frac {2 B \left (a+b x^3\right )^{5/2}}{15 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 457
Rubi steps
\begin {align*} \int \frac {x^5 \left (A+B x^3\right )}{\sqrt {a+b x^3}} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {x (A+B x)}{\sqrt {a+b x}} \, dx,x,x^3\right )\\ &=\frac {1}{3} \text {Subst}\left (\int \left (\frac {a (-A b+a B)}{b^2 \sqrt {a+b x}}+\frac {(A b-2 a B) \sqrt {a+b x}}{b^2}+\frac {B (a+b x)^{3/2}}{b^2}\right ) \, dx,x,x^3\right )\\ &=-\frac {2 a (A b-a B) \sqrt {a+b x^3}}{3 b^3}+\frac {2 (A b-2 a B) \left (a+b x^3\right )^{3/2}}{9 b^3}+\frac {2 B \left (a+b x^3\right )^{5/2}}{15 b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 56, normalized size = 0.77 \begin {gather*} \frac {2 \sqrt {a+b x^3} \left (-10 a A b+8 a^2 B+5 A b^2 x^3-4 a b B x^3+3 b^2 B x^6\right )}{45 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.30, size = 92, normalized size = 1.26
method | result | size |
gosper | \(-\frac {2 \sqrt {b \,x^{3}+a}\, \left (-3 b^{2} B \,x^{6}-5 A \,b^{2} x^{3}+4 B a b \,x^{3}+10 a b A -8 a^{2} B \right )}{45 b^{3}}\) | \(53\) |
trager | \(-\frac {2 \sqrt {b \,x^{3}+a}\, \left (-3 b^{2} B \,x^{6}-5 A \,b^{2} x^{3}+4 B a b \,x^{3}+10 a b A -8 a^{2} B \right )}{45 b^{3}}\) | \(53\) |
risch | \(-\frac {2 \sqrt {b \,x^{3}+a}\, \left (-3 b^{2} B \,x^{6}-5 A \,b^{2} x^{3}+4 B a b \,x^{3}+10 a b A -8 a^{2} B \right )}{45 b^{3}}\) | \(53\) |
elliptic | \(\frac {2 B \,x^{6} \sqrt {b \,x^{3}+a}}{15 b}+\frac {2 \left (A -\frac {4 a B}{5 b}\right ) x^{3} \sqrt {b \,x^{3}+a}}{9 b}-\frac {4 a \left (A -\frac {4 a B}{5 b}\right ) \sqrt {b \,x^{3}+a}}{9 b^{2}}\) | \(70\) |
default | \(B \left (\frac {2 x^{6} \sqrt {b \,x^{3}+a}}{15 b}-\frac {8 a \,x^{3} \sqrt {b \,x^{3}+a}}{45 b^{2}}+\frac {16 a^{2} \sqrt {b \,x^{3}+a}}{45 b^{3}}\right )+A \left (\frac {2 x^{3} \sqrt {b \,x^{3}+a}}{9 b}-\frac {4 a \sqrt {b \,x^{3}+a}}{9 b^{2}}\right )\) | \(92\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 83, normalized size = 1.14 \begin {gather*} \frac {2}{45} \, B {\left (\frac {3 \, {\left (b x^{3} + a\right )}^{\frac {5}{2}}}{b^{3}} - \frac {10 \, {\left (b x^{3} + a\right )}^{\frac {3}{2}} a}{b^{3}} + \frac {15 \, \sqrt {b x^{3} + a} a^{2}}{b^{3}}\right )} + \frac {2}{9} \, A {\left (\frac {{\left (b x^{3} + a\right )}^{\frac {3}{2}}}{b^{2}} - \frac {3 \, \sqrt {b x^{3} + a} a}{b^{2}}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.07, size = 52, normalized size = 0.71 \begin {gather*} \frac {2 \, {\left (3 \, B b^{2} x^{6} - {\left (4 \, B a b - 5 \, A b^{2}\right )} x^{3} + 8 \, B a^{2} - 10 \, A a b\right )} \sqrt {b x^{3} + a}}{45 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.37, size = 124, normalized size = 1.70 \begin {gather*} \begin {cases} - \frac {4 A a \sqrt {a + b x^{3}}}{9 b^{2}} + \frac {2 A x^{3} \sqrt {a + b x^{3}}}{9 b} + \frac {16 B a^{2} \sqrt {a + b x^{3}}}{45 b^{3}} - \frac {8 B a x^{3} \sqrt {a + b x^{3}}}{45 b^{2}} + \frac {2 B x^{6} \sqrt {a + b x^{3}}}{15 b} & \text {for}\: b \neq 0 \\\frac {\frac {A x^{6}}{6} + \frac {B x^{9}}{9}}{\sqrt {a}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.40, size = 70, normalized size = 0.96 \begin {gather*} \frac {2 \, \sqrt {b x^{3} + a} {\left (B a^{2} - A a b\right )}}{3 \, b^{3}} + \frac {2 \, {\left (3 \, {\left (b x^{3} + a\right )}^{\frac {5}{2}} B - 10 \, {\left (b x^{3} + a\right )}^{\frac {3}{2}} B a + 5 \, {\left (b x^{3} + a\right )}^{\frac {3}{2}} A b\right )}}{45 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.65, size = 52, normalized size = 0.71 \begin {gather*} \frac {2\,\sqrt {b\,x^3+a}\,\left (8\,B\,a^2-4\,B\,a\,b\,x^3-10\,A\,a\,b+3\,B\,b^2\,x^6+5\,A\,b^2\,x^3\right )}{45\,b^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________